package com.jy.datapipeline.importserver.service;

import com.jy.datapipeline.importserver.common.dto.ClientDto;
import com.jy.datapipeline.common.exception.GlobalException;
import com.jy.datapipeline.common.vo.ReturnVo;
import org.quartz.SchedulerException;

/**
 * @类名 ServerService
 * @描述 TODO
 * @作者 白条君
 * @创建日期 2023/6/22 23:55
 * @版本 1.0
 */
public interface ImportServerService {

    public ReturnVo retry(ClientDto clientDto) throws GlobalException;

    public void generateVerFailRetrySubtask(ClientDto clientDto) throws GlobalException, SchedulerException;

    public void finish(ClientDto clientDto) throws GlobalException, SchedulerException;

    ReturnVo getRetrySubtask() throws GlobalException;

    void importSubtaskToSqlldr(ClientDto clientDto) throws GlobalException, SchedulerException;
}
